package routers

import (
	"docker/controllers"
	beego "github.com/beego/beego/v2/server/web"
)

func init() {

	beego.Router("/", &controllers.MainController{})
	//医生增加
	beego.Router("/add", &controllers.DockerController{}, "POST:Add")
	//医生展示
	beego.Router("/list", &controllers.DockerController{}, "Get:List")
	//医生修改
	beego.Router("/update", &controllers.DockerController{}, "POST:Update")
	//医生删除
	beego.Router("/del", &controllers.DockerController{}, "POST:Del")

}
